package com.hange.ymcc.api;

import com.hange.ymcc.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(value = "service-course")
public interface CourseApi {

    @PostMapping("/course/infoapi")
    JSONResult courseInfoApi(@RequestBody List<Long> courseId);

}